Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODSemanticInterface


CallCoercionHandler

The CallCoercionHandler method coerces the specified descriptor to a different type.

void CallCoercionHandler (in ODPart thePart, 
                          in ODDesc theODDesc, 
                          in ODDescType toType,
                          in ODDesc theResult);
thePart
A reference to a part associated with this semantic interface object.
theODDesc
A reference to a descriptor to coerce.
toType
The type of the coerced descriptor.
theResult
A reference to the resulting coerced descriptor.
DISCUSSION
OpenDoc does not chain coercion handlers together. For example, an embedded part does not inherit the coercion handler of its containing part, and a part does not inherit the coercion handler of the document shell.

EXCEPTIONS
The Apple Event Manager may throw an exception if this semantic interface does not support the specified coercion.

This method may throw platform-specific exceptions.

SEE ALSO
The ODDescType type (page 925).
The ODDesc class (page 104).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help